/*
 * @Author: HeAo
 * @Date: 2021-09-29 23:01:31
 * @LastEditTime: 2021-09-30 11:49:14
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \web2103-2105\web2103code\3-1-ES6\day06\practice2.js
 * 别乱动！
 */
let _num = 0

Object.defineProperty(global, 'a', {
  get () {
    return ++_num
  }
})

if (a === 1 && a === 2 && a === 3) {
  console.log('Good Job!!!');
}
console.log(global.a);
